Coupon_X\Frontend\Couponx_Frontend B

Total Complexity 86
Dependencies 1
Dependents 0
Total lines 589
Lines of code 410
Logical lines of code 226
Comment lines 107
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
render_discount_tab()
B
35 19 81
is_discount_applicable()
A
49 10 31
get_coupon_classes()
A
48 8 31
is_valid_product()
S
53 7 23
load_fonts()
S
47 5 35
render_email_dialog()
S
49 5 35
display_coupon_widget()
S
51 5 29
render_link_dialog()
S
50 4 34
is_valid_min_req()
S
57 5 17
apply_cx_coupon_link()
S
61 5 12
render_coupon_dialog()
S
50 2 35
render_coupon_form()
S
61 3 12
is_valid_date()
S
62 3 11
apply_coupon_from_session()
S
68 3 7
__construct()
S
67 1 7
include_coupon_scripts()
S
63 1 10